package bjut.core.factory;

import bjut.core.exception.BeansException;

/**
 * @Author: zhuzhiming
 * @Date: 2022/3/20 21:36
 */
public interface BeanFactory {

    Object getBean(String beanName);

    Object getBean(String beanName, Object... args);

    <T> T getBean(String beanName, Class<T> requiredType);

    <T> T getBean(Class<T> requiredType) throws BeansException;

}
